#ifndef CURVEVIEW_H_
#define CURVEVIEW_H_

#include "CurveModel.h"
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>

#define WINDOW_TITLE std::string("Curves")
#define WINDOW_WIDTH 800
#define WINDOW_HEIGHT 600
#define WINDOW_BOARDER 30
#define WINDOW_PLAYER 1

class CurveView {
	CurveModel& model;
	sf::RenderWindow window;
	sf::Event event;
	void drawMap();
	void drawPlayer();
	void drawItem();
public:
	CurveView();
	CurveView(CurveModel& model);
	virtual ~CurveView();
	void draw();
	void close();
	bool canGetEvent();
	CurveModelEvent getEvent();
};

#endif /* CURVEVIEW_H_ */
